]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Adjust for renamed action mode
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 26 Feb 2015 00:00:41 +0000 (01:00 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 26 Feb 2015 00:06:03 +0000 (01:06 +0100)
Commit c79d24b60e7732 renamed the TOPBAR_POPUP mode to POPUP to
reflect its new usage, but did not update any code that used it.
Whoops.

js/ui/status/keyboard.js
js/ui/windowManager.js

index e3938d541c5767fa23f638dc44658f4015b4e3c2..6e9965843801c542c9fe9fdac0adac16d50a2b42 100644 (file)
@@ -243,7 +243,7 @@ const InputSourceManager = new Lang.Class({
         // of pushModal/popModal and grabHelper. See
         // https://bugzilla.gnome.org/show_bug.cgi?id=695143 .
         if (Main.actionMode == Shell.ActionMode.MESSAGE_TRAY ||
-            Main.actionMode == Shell.ActionMode.TOPBAR_POPUP) {
+            Main.actionMode == Shell.ActionMode.POPUP) {
             this._modifiersSwitcher();
             return;
         }
index b4395c143b630c51c4f12bae7b4c6a089ef63ab1..e0bf007aaad6a77d4884155ded314bcaa6c3f502 100644 (file)
@@ -831,14 +831,14 @@ const WindowManager = new Lang.Class({
                            new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
                            Meta.KeyBindingFlags.NONE,
                            Shell.ActionMode.NORMAL |
-                           Shell.ActionMode.TOPBAR_POPUP,
+                           Shell.ActionMode.POPUP,
                            Lang.bind(this, this._toggleAppMenu));
 
         this.addKeybinding('toggle-message-tray',
                            new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
                            Meta.KeyBindingFlags.NONE,
                            Shell.ActionMode.NORMAL |
-                           Shell.ActionMode.TOPBAR_POPUP,
+                           Shell.ActionMode.POPUP,
                            Lang.bind(this, this._toggleCalendar));
 
         global.display.connect('show-resize-popup', Lang.bind(this, this._showResizePopup));